package com.hlhj.carview.utils

import com.bumptech.glide.request.RequestOptions
import com.hlhj.carview.R

/**
 * Created by Never Fear   on 2019\1\9 0009.
Never More....
 */
object GlideUtil {
    fun loadHeadOption(): RequestOptions {
      return  RequestOptions()
                .placeholder(R.mipmap.head)
                .error(R.mipmap.head)
    }
    fun loadAdOption(): RequestOptions {
        return RequestOptions()
                .placeholder(R.drawable.ad1)
                .error(R.drawable.ad1)
    }

    fun loadHead(url:String){
    }
}